package org.itstack.demo.design.lang;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-26  16:31
 * @Description:
 */
public interface Collection<E,L> extends Iterable<E> {

    boolean add(E e);

    boolean remove(E e);

    boolean addLink(String key,L l);

    boolean removeLink(String key);

    @Override
    Iterator<E> iterator();
}
